package com.vote.admin.vo.result;

import cn.afterturn.easypoi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "投票活动数据返回")
@Builder
public class VoteResult implements Serializable {

    @ApiModelProperty(value = "编号")
    @Excel(name = "编号", width = 20, height = 20)
    private Integer id;

    @ApiModelProperty(value = "账号")
    @Excel(name = "创建人", width = 20)
    private String username;

    @ApiModelProperty(value = "活动名称")
    @Excel(name = "活动名称", width = 50)
    private String projectName;

    @ApiModelProperty(value = "活动描述")
    private String projectDesc;

    @ApiModelProperty("活动图片")
    @Excel(name = "活动图片", type = 2, imageType = 1, width = 10)
    private String projectImg;

    @ApiModelProperty(value = "实名投票/匿名投票")
    @Excel(name = "投票权限", width = 20)
    private String projectPublic;

    @ApiModelProperty(value = "单选/多选")
    @Excel(name = "类型", width = 20)
    private String projectChoice;

    @ApiModelProperty(value = "展示形式")
    @Excel(name = "展示", width = 20)
    private String projectShow;

    @ApiModelProperty(value = "限投次数")
    @Excel(name = "限投量", width = 20)
    private Integer projectRule;

    @ApiModelProperty(value = "选项数")
    @Excel(name = "选项量", width = 20)
    private Integer projectOption;

    @ApiModelProperty(value = "投票数")
    @Excel(name = "投票量", width = 20)
    private Integer projectVote;

    @ApiModelProperty(value = "浏览量")
    @Excel(name = "浏览量", width = 20)
    private Integer projectView;

    @ApiModelProperty(value = "活动状态")
    @Excel(name = "状态", width = 20)
    private String projectStatus;

    @ApiModelProperty(value = "开始时间")
    @Excel(name = "开始时间", width = 20)
    private String projectStart;

    @ApiModelProperty(value = "结束时间")
    @Excel(name = "结束时间", width = 20)
    private String projectEnd;

}
